package com.zpark.mapper;

import com.zpark.pojo.Empty;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface IUserMapper {
    //添加用户
    Integer insertEmpty(Empty empty);
    //根据id删除用户
    Integer deleteEmptyById(Integer id);
    //根据id修改用户信息
    Integer updateEmptyById(Empty empty);
    //查询所有用户信息
    List<Empty> selectAllEmpty();
    //通过名字查询
    List<Empty> selectByName(String username);
}
